#ifndef CANDOTEMPTAB_H
#define CANDOTEMPTAB_H

#include "canmessage.h"
#include "mainwindow.h"

#include <QWidget>

namespace Ui {
class CanDoTemptab;
}

class CanDoTemptab : public QWidget
{
    Q_OBJECT

public:
    explicit CanDoTemptab(QWidget *parent = 0);
    ~CanDoTemptab();

    void ProcessMessage(const CanMessage& mess);
private:
    Ui::CanDoTemptab *ui;
    QString ConvertChargeStateEnumToText(MainWindow::ChargerStates state);
    QString ConvertSensorCANToText(int CANData);
};

#endif // CANDOTEMPTAB_H
